import http from '../index'

const api = '/store/order/pay'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function post(id, data) {
  return http.post(api + '/' + id, data)
}

export function totalGroup(data) {
  return http.post(api + '/total/group', data)
}